/**
 * API模块统一导出
 */

export * from './http-client'
export * from './recommendations'
export * from './auth'
export * from './watch'
export * from './stocks'
export * from './tracking'

import { recommendationsApi } from './recommendations'
import { authApi } from './auth'
import { watchApi } from './watch'
import { stocksApi } from './stocks'
import { trackingApi } from './tracking'
import { useApiCall } from '../hooks/use-api-call'

// 统一API对象
export const api = {
  recommendations: recommendationsApi,
  auth: authApi,
  watch: watchApi,
  stocks: stocksApi,
  tracking: trackingApi,
}

// 导出hooks
export { useApiCall }